let fileUrl = document.querySelector('#fileUrl')
const fileContent = document.querySelector('#fileContent')
const save = document.querySelector('#save')

save.onclick = function () {
  preloadApi.save(fileUrl.value, fileContent.value)
}